package com.heima.manager.test;

import org.jbpm.api.Configuration;
import org.jbpm.api.ProcessEngine;


public class FlowDefine {

	public static void main(String[] args) {

		ProcessEngine processEngine = Configuration.getProcessEngine();
		processEngine.getRepositoryService()
		.createDeployment()
		.addResourceFromClasspath("jbpm/holiday.jpdl.xml")
		.addResourceFromClasspath("jbpm/holiday.png")
		.deploy();
		
	}

}
